package com.exchange.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.exchange.entity.pojo.UserDetail;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
* @author Administrator
* @description 针对表【user_detail】的数据库操作Mapper
* @createDate 2024-04-25 20:02:10
* @Entity com.exchange.entity.pojo.UserDetail
*/
public interface UserDetailMapper extends BaseMapper<UserDetail> {

    @Insert("insert into user_detail(remark) values(#{remark})")
    void insertr(Long remark);

    @Update("update user_detail set remark = #{remark} where uid = #{uid}")
    void updater(@Param("uid") Long uid,@Param("remark") Long remark);
}




